import 'package:distribution_mall_flutter/constant/cf_constant.dart';
import 'package:flutter/material.dart';

class ModalNote extends StatelessWidget {
  TextEditingController _controller = TextEditingController();
  ModalNote({super.key});

  @override
  Widget build(BuildContext context) {
    return TextField(
      controller: _controller,
      keyboardType: TextInputType.multiline,
      maxLength: 200,
      decoration: const InputDecoration(
        filled: true,
        fillColor: ColorConstant.grey246,
        hintStyle: TextStyle(
            color: Color.fromRGBO(168, 168, 167, 1),
            textBaseline: TextBaseline.alphabetic, // 设置文本基线为基准线
            height: 1),
      ),
    );
  }
}
